protected override void ChangeModelValue( ModelChangedEventArgs e, bool undo )
Parameters
- e
- an edit describing the change to be performed
- undo
- true if undoing; false if redoing
protected override void ChangeModelValue( ModelChangedEventArgs e, bool undo )
This is called by ChangeModel. You will want to override this method to handle properties that you have added to your derived model class.
By default this uses reflection to set the System.ComponentModel.PropertyChangedEventArgs.PropertyName to the ModelChangedEventArgs.OldValue or the ModelChangedEventArgs.NewValue, depending on the value of undo.
If you override this method, remember to call the base method for all cases that your override method does not handle.